package com.isoftstone.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.isoftstone.pojo.Users;


public interface UsersDAO {
	
	public int insert(Users users);

	public int update(Users users);

	public int delete(int id);

	public List<Users> selectAll();
	
	public Users selectById(int id);
		
	public int getIdByLogin(@Param("username") String username,@Param("password") String password);
	
	public Users getUsersByName(@Param("username") String username);
		
}
